//
//  VideoView.h
//  SYiDaiy
//
//  Created by dllo on 16/9/14.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h>
@interface VideoView : UIView
@property (nonatomic,strong) AVPlayer *player;
@property (nonatomic,strong) AVPlayerItem *playerItem;
@property (nonatomic,strong) AVPlayerLayer *playerLayer;

@property (nonatomic,strong) UIButton *playButton;
@property (nonatomic,strong) UIImageView *videoTopImageView;
@property (nonatomic,strong) UIView *backgroudView;
@property (nonatomic,strong) UISlider *slider;

@property (nonatomic,assign) CGFloat sumPlayOperation;


- (void)initWithURL:(NSURL *)url;
@end
